//
//  ViewManager.h
//  iMarks
//
//  Created by Christian Speich on 20.12.07.
//  Copyright 2007-2008 Christian Speich. All rights reserved.
//

#import <CoreFoundation/CoreFoundation.h>
#import <Foundation/Foundation.h>
#import <UIKit/CDStructures.h>
#import <UIKit/UIHardware.h>
#import <UIKit/UIApplication.h>
#import <UIKit/UIKit.h>
#import <UIKit/UITransitionView.h>
#import <UIKit/UINavigationBar.h>

@interface ViewManager : NSObject {
	NSMutableArray *views;
	UITransitionView *transView;
	UINavigationBar *bar;
	UIView *mainView;
}

- (id)initWithTransitionView:(id)view andNavigationBar:(id)bar 
				 andMainView:(id)view;

- (void)back;
- (void)addView:(id)view;
- (void)addView:(id)view withNavigationItem:(UINavigationItem*)item;

- (id)currentView;
- (id)lastView;
- (id)bar;
- (id)mainView;

- (void)back;

@end
